<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <link rel="stylesheet" href="./assets/mui/css/iconfont.css">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/mtbase.css">
    <script src="./assets/mui/js/mui.js"></script>
    <script src="./assets/zepto/zepto.min.js"></script>
    <script src="./assets/artTemplate/template-web.js"></script>
    <script src="./js/base.js"></script>
    <script src="./js/search.js"></script>
    <link rel="stylesheet" href="./css/search.css">
</head>

<body>
    <header class="mui-bar mui-bar-nav header">
        <h1 class="mui-title">搜索中心</h1>
        <!-- <a href="search.html" class="mui-icon mui-icon-search mui-pull-right"></a> -->
    </header>
    <nav class="mui-bar mui-bar-tab footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon fa  fa-shopping-cart "></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
    <div class="mysearch">
        <div class="top  mui-clearfix">
            <input type="text" class='mui-pull-left' placeholder="请输入关键字" id="keyword">
            <button class='mui-pull-right' id='searchBtn'>搜索</button>
        </div>
        <div class="center mui-clearfix">
            <span class='mui-pull-left'>搜索历史</span>
            <span class="mui-pull-right mui-icon mui-icon-trash" id="clearOld">清空历史</span>
        </div>
        <ul class="mui-table-view" id='ulBox'>
                 
        </ul>
    </div>
   
    <script type='html/text' id='oldData'>
        {{each rows vals i}}
        <li class="mui-table-view-cell">{{vals}}</li>
        {{/each}}
    </script>
</body>

</html>